#ifndef MODIFIUSERPASSWD_H
#define MODIFIUSERPASSWD_H

#include <QDialog>
#include <QSqlTableModel>
#include "Settings/Model/MySqlTableModel.h"

namespace Ui {
class ModifiUserPasswd;
}

class ModifiUserPasswd : public QDialog
{
    Q_OBJECT

public:
    explicit ModifiUserPasswd(int ID, MySqlTableModel *model, QWidget *parent = 0);
    ~ModifiUserPasswd();

private slots:
    void on_Btn_OK_clicked();

    void on_Btn_cancel_clicked();

private:
    Ui::ModifiUserPasswd *ui;
    int m_ID;
    QString oldPasswd;
    QString newpasswd;
    QString verifypasswd;
    MySqlTableModel *model;
};

#endif // MODIFIUSERPASSWD_H
